<?php if ( ! defined('BASEPATH')) exit('This file does not run directly. Sorry.'); ?>
<?php
/**
 * Kalaisoo.
 *
 * A lightweight no-framework framework written in PHP.
 *
 * @package Kalaisoo
 * @author $Author: info@sah-company.com $
 */
?>
<?php
$this->view('shared/head');
?>
<!-- Changepassword -->
<header>
	<h1><?php echo __('user_changepassword'); ?></h1>
</header>
<form
	id="changepassword"
	method="post"
	action="<?php echo ahref(sprintf('%s/user/changepassword/%s', $language, $authCode), true); ?>"
	accept-charset="utf-8"
	autocomplete="off">
	<fieldset>
		<legend><?php echo __('user_changepassword_legend') ?></legend>
		<div class="row">
			<label
				for="pw_new"
				class="<?php if (isset($errors['fn_pw_new'])) echo 'error'; ?>">
				<?php echo __('user_pw_new_label'),"\n"; ?>
			</label>
			<input
				id="pw_new"
				type="password"
				name="login[pw_new]"
				size="60"
				value=""
				required="required"
				autofocus="autofocus"
			/>
		</div>
		<div class="row">
			<label
				for="pw_repeated"
				class="<?php if (isset($errors['fn_pw_repeated'])) echo 'error'; ?>">
				<?php echo __('user_pw_repeated_label'),"\n"; ?>
			</label>
			<input
				id="pw_repeated"
				type="password"
				name="login[pw_repeated]"
				size="60"
				value=""
				required="required"
			/>
		</div>
	</fieldset>
	<fieldset>
		<legend><?php echo __('buttons'); ?></legend>
		<input
			type="submit"
			name="submit"
			class="button default"
			value="<?php echo __('user_changepassword_submit'); ?>"
		/>
	</fieldset>
</form>
<!-- /Changepassword -->
<?php
$this->view('shared/foot');
?>